package cn.maihe.elg.operation.supports.bank.dto;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import java.math.BigDecimal;

@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class CiticCardDetailItem {

    /**
     * 关联账户 char(19)
     */
    @XmlElement(name = "relAcc")
    private String relAcc;

    /**
     * 对应附属账号char(19)
     */
    @XmlElement(name = "crspAfltAccnum")
    private String crspAfltAccnum;

    /**
     *  信e卡卡号char(19)
     */
    @XmlElement(name = "setlcardNum")
    private String setlcardNum;

    /**
     * 持卡人姓名varchar(122)
     */
    @XmlElement(name = "cardholderNm")
    private String cardholderNm;

    /**
     * 持卡人证件类型char (3)
     */
    @XmlElement(name = "cardhldrCtfTp")
    private String cardhldrCtfTp;

    /**
     * 持卡证件号码varchar(30)
     */
    @XmlElement(name = "cardhldrCtfNum")
    private String cardhldrCtfNum;

    /**
     * 交易金额decimal(17,2)
     */
    @XmlElement(name = "tranAmt")
    private BigDecimal tranAmt;

    /**
     * 交易日期char(8)
     */
    @XmlElement(name = "tranDate")
    private String tranDate;

    /**
     * 操作渠道char(4)
     */
    @XmlElement(name = "chnl")
    private String chnl;

    /**
     * 摘要char(102)
     */
    @XmlElement(name = "hostTranDesc")
    private String hostTranDesc;

    /**
     * 借贷标识char(1) C-贷/收，D-借/付
     */
    @XmlElement(name = "setlCardDbCrFlag")
    private String setlCardDbCrFlag;

    /**
     * 金融交易标识char(1
     */
    @XmlElement(name = "setlCardBankTranFlag")
    private String setlCardBankTranFlag;

    /**
     * 结算卡交易账号char(19)-
     */
    @XmlElement(name = "setlCardTranAccNo")
    private String setlCardTranAccNo;

    /**
     * 交易名称varchar(125)
     */
    @XmlElement(name = "tranName")
    private String tranName;

    /**
     * 卡类型char(12)
     */
    @XmlElement(name = "setlcardType")
    private String setlcardType;

    /**
     * 商户编号char(15)
     */
    @XmlElement(name = "mrchNum")
    private String mrchNum;

    /**
     * 商户类型char(4)
     */
    @XmlElement(name = "mrchTyp")
    private String mrchTyp;

    /**
     * 对方交易账户/卡char(19)
     */
    @XmlElement(name = "oppositeAccNo")
    private String oppositeAccNo;

    /**
     * 柜面交易号char(14)
     */
    @XmlElement(name = "tranNo")
    private String tranNo;

    /**
     * 交易总流水号varchar(36)
     */
    @XmlElement(name = "orderNum")
    private String orderNum;

    /**
     * 商户/税局名称varchar(600)
     */
    @XmlElement(name = "merchNm")
    private String merchNm;

    /**
     * 商户类型名称varchar(600)
     */
    @XmlElement(name = "mrchTypNm")
    private String mrchTypNm;

    /**
     * 账户序号char(13)
     */
    @XmlElement(name = "accSrlNum")
    private String accSrlNum;

}
